home *** CD-ROM | disk | FTP | other *** search
-
-
-
- kkkkiiiillllllllaaaallllllll((((1111MMMM)))) kkkkiiiillllllllaaaallllllll((((1111MMMM))))
-
-
-
- NNNNAAAAMMMMEEEE
- killall - kill named processes
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- kkkkiiiillllllllaaaallllllll [ [----]signal ]
- kkkkiiiillllllllaaaallllllll [ ----ggggvvvv ] [ ----kkkk secs ] [ [----]signal ] [ pname ...]
- kkkkiiiillllllllaaaallllllll [ ----ggggvvvv ] [ ----kkkk secs ] [ ----signame ] [ pname ...]
- kkkkiiiillllllllaaaallllllll ----llll
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _k_i_l_l_a_l_l sends a signal to a set of processes or process groups specified
- by _p_n_a_m_e(s). It is similar to _k_i_l_l(1), except that it allows processes
- to be specified by name and has special options used by _s_h_u_t_d_o_w_n(1M).
-
- When no processes are specified, _k_i_l_l_a_l_l terminates all processes that
- are not in the same process group as the caller. This form is for use in
- shutting down the system and is only available to the superuser.
-
- The options to _k_i_l_l_a_l_l are:
-
- _s_i_g_n_a_l, ----_s_i_g_n_a_l
- Specifies the signal number. The minus (----) is required if
- _p_n_a_m_e looks like a signal number. If no signal value is
- specified, a default of 9999 (KILL) is used.
-
- _p_n_a_m_e When a process is specified with _p_n_a_m_e, _k_i_l_l_a_l_l sends _s_i_g_n_a_l to
- all processes matching that name. This form is available to
- all users provided that their user ID matches the real, saved,
- or effective user ID of the receiving process. The signal
- number must be preceded by a minus (----) if _p_n_a_m_e looks like a
- signal number.
-
- _s_i_g_n_a_m_e A mnemonic name for the signal can be used; see the ----llll option.
-
- ----gggg Causes the signal to be sent to the named processes' entire
- process group. In this form, the signal number should be
- preceded by ---- in order to disambiguate it from a process name.
-
- ----kkkk _s_e_c_s Allows the user to specify a maximum time to die for a process.
- With this option, an argument specifying the maximum number of
- seconds to wait for a process to die is given. If after
- delivery of the specified signal (which defaults to SIGTERM
- when using the ----kkkk option), _k_i_l_l_a_l_l waits for either the process
- to die or for the time specified by _s_e_c_s to elapse. If the
- process does not die in the allotted time, the process is sent
- SIGKILL.
-
- ----llll Lists the signal names (see _k_i_l_l(1) for more information about
- signal naming). For example,
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- kkkkiiiillllllllaaaallllllll((((1111MMMM)))) kkkkiiiillllllllaaaallllllll((((1111MMMM))))
-
-
-
- _kkkk_iiii_llll_llll_aaaa_llll_llll _1111_6666 _mmmm_yyyy_pppp_rrrr_oooo_cccc
- _kkkk_iiii_llll_llll_aaaa_llll_llll _----_1111_6666 _mmmm_yyyy_pppp_rrrr_oooo_cccc
- _kkkk_iiii_llll_llll_aaaa_llll_llll _----_UUUU_SSSS_RRRR_1111 _mmmm_yyyy_pppp_rrrr_oooo_cccc
-
- are equivalent.
-
- ----vvvv Reports if the signal was successfully sent.
-
- _k_i_l_l_a_l_l can be quite useful for killing a process without knowing its
- process ID. It can be used to stop a run-away user program without
- having to wait for _p_s(1) to find its process ID. It can be particularly
- useful in scripts, because it makes it unnecessary to run the output of
- _p_s(1) through _g_r_e_p(1) and then through _s_e_d(1) or _a_w_k(1).
-
- FFFFIIIILLLLEEEESSSS
- /etc/shutdown
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- fuser(1M), kill(1), ps(1), shutdown(1M), signal(2).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-